package com.yaokan.devices;


import android.media.AudioTrack;
import android.util.Log;

public class wavassit {

	public String TAG="assit";
	
	public void play(byte [] buf) {
		Log.e(TAG,"player start "+ buf.length);
		AudioTrack at = new AudioTrack(3, 44100, 12, 3, buf.length,0);
		at.write(buf, 0, buf.length);
		at.play();
		Log.e(TAG,"player end");
	}
}
